#pragma once
#include "qwindow.h"


using namespace micro::gui;

namespace micro
{
namespace gui
{

class QPanel :	public  QWindow
{



public:
    QPanel( void);
    virtual ~QPanel( void );

protected:
    virtual bool OnPreCreate( CREATESTRUCT & cs );
    virtual bool OnPreRegisterClass( WNDCLASS & wcex );


public:
    virtual bool ClosePanel()
    {
        bool bo =  OnClose();

        if ( bo )
            Destroy();

        return bo;
    }



};

}
}//micro